package com.liangge.essaysite.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.liangge.essaysite.bean.SiteProperty;
import com.liangge.essaysite.dao.SitePropertyDao;
import com.liangge.essaysite.service.SitePropertyService;

public class SitePropertyServiceImpl implements SitePropertyService {
	private SitePropertyDao sitePropertyDao;
	public void setSitePropertyDao(SitePropertyDao sitePropertyDao) {
		this.sitePropertyDao = sitePropertyDao;
	}
	@Override
	public List<SiteProperty> selectAllSiteProperties(){
		return sitePropertyDao.selectAllSiteProperties();
	}
	
	@Override
	public int insertSiteProperty(SiteProperty siteProperty){
		return sitePropertyDao.insertSiteProperty(siteProperty);
	}
	
}
